//
//  MoreFlashSaleModel.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/10/25.
//

import UIKit
import ObjectMapper

class MoreFlashSaleModel: Mappable {
    var code: String?
    var msg: String?
    var data: MoreFlashDataModel?
    var extData: MoreExtDataModel?
    func mapping(map: Map) {
        code <- map["code"]
        msg <- map["msg"]
        data <- map["data"]
        extData <- map["extData"]
    }
    required init?(map: Map) {
    }
}

class MoreExtDataModel: Mappable {
    var categoryList: [CategoryListModel]?
    func mapping(map: Map) {
        categoryList <- map["categoryList"]
    }
    required init?(map: Map) {
    }
}

class MoreFlashDataModel: Mappable {
    var shareText: String?
    var promotion: PromotionModel?
    var page: VehicleDataModel?
    func mapping(map: Map) {
        shareText <- map["shareText"]
        promotion <- map["promotion"]
        page <- map["page"]
    }
    required init?(map: Map) {
    }
    
}

